package com.jbm.jbmsupplier.activity.activitymanag.presenter;

import android.content.Context;

import com.jbm.jbmsupplier.activity.activitymanag.mode.NewHomeInterfacema;
import com.jbm.jbmsupplier.activity.activitymanag.view.NewHomeViewma;
import com.jbm.jbmsupplier.shared.SharedPreferActivity;

/**
 * Created by 家帮忙 on 2017/7/7.
 */

public class NewHomeActivityma implements NewHomeInterfacema{
    private Context context;
    private NewHomeViewma newHomeView;
    private SharedPreferActivity sharedLoginActivity;
    private SharedPreferActivity sharedPreferActivity;
    private final int LOGINNEW=0002;
    private final int EXITPWD=0005;
    public NewHomeActivityma(Context context, NewHomeViewma newHomeView) {
        this.context = context;
        this.newHomeView = newHomeView;
    }
    @Override
    public void setInitMode() {//初始化
        sharedLoginActivity=new SharedPreferActivity(context);
        sharedPreferActivity=new SharedPreferActivity(context,true);
        newHomeView.getLoadTitle();
    }
    @Override
    public void setnewLogin() {//有网络
    }
    @Override
    public void SetExitLogin() {
    }


}
